{block name=body}
<div class="row">
	<div class="clearfix"></div>
{if $members}
    <div class="col-sm-12"><h3>最近注册的50名会员</h3></div>
    <div class="col-sm-12">
    <table class="table table-striped">
        <thead>
            <th>姓名</th>
            <th>性别</th>
            <th>邮箱</th>
            <th>电话</th>
            <th>创建时间</th>
        </thead>
        <tbody>
            {foreach $members as $member}
                    <tr>
                        <td><a href="/admin/members/existing/{$member.user_id}">{$member.user_gname}</a></td>
                        <td>{if $member.user_sex neq 1}女{else}男{/if}</td>
                        <td>{$member.user_email}</td>
                        <td>{$member.user_phone}</td>
                        <td>{$member.user_created|date_format:"%Y-%m-%d %H:%M %p"}</td>
                    </tr>
                {/foreach}
        </tbody>
    </table>
    </div>
{/if}
	<div id="member-details-wrapper">
		{include file="member-details.tpl"}
	</div> 
</div>
{/block}
	